package com.example.zrq1010110087.ddmstest;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class MainActivity extends AppCompatActivity {


    private final static String DDMS_ATG="LOG_TAG";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void button(View view){

        Log.d(DDMS_ATG,"i am debug");
        Log.i(DDMS_ATG,"i am information");
        Log.w(DDMS_ATG,"i am warning");
        Log.e(DDMS_ATG,"i am error");
        Log.v(DDMS_ATG,"i am v");


    }
}
